package IC.Tables.Symbols;

import IC.Tables.Types.*;

/**
 * The abstract class for Symbol, used as a SymbolTable entry
 *
 */
public abstract class Symbol {
	protected String name;
	protected Type type;
	protected int line;
	
	public Symbol(String name){
		this.name = name;
	}
	
	/**
	 * getters
	 */
	public String getName(){
		return this.name;
	}

	public Type getType(){
		return this.type;
	}

	public abstract String getKind();
}
